package com.hzncc.flowable_diboot.dto.refundmanage;

import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.diboot.iam.entity.IamOrg;
import com.diboot.iam.entity.IamUser;
import com.diboot.tenant.entity.IamTenant;
import com.hzncc.flowable_diboot.entity.refundmanage.RefundContract;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
* 合同退款 DTO定义
*
* @author MyName
* @version 1.0
* @date 2024-11-12
 * Copyright © MyCorp
*/
@Getter
@Setter
@Accessors(chain = true)
public class RefundContractDTO extends RefundContract  {
    private static final long serialVersionUID = 1693138313193937741L;

    /**
    * id集合
    */
    @BindQuery(comparison = Comparison.IN, field = "id")
    private List<String> ids;


    /**
     *
     */
    @BindQuery(comparison = Comparison.IN, field = "sapCustomerId")
    private List<String> sapCustomerIds;

    /**
     * 回款日期 起始
     */
    @BindQuery(comparison = Comparison.GE, column = "refund_time")
    private LocalDateTime refundTimeBegin;

    /**
     * 回款日期 截止
     */
    @BindQuery(comparison = Comparison.LE, column = "refund_time")
    private LocalDateTime refundTimeEnd;

    /**
     * sap客户名称
     */
    private String sapCustomerName;

}